//package com.zyg.feign;
//
//import com.zyg.model.Result;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.stereotype.Component;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
///**
// * @author: 牛二
// * @date: 2020/8/6 14:59
// * @email: 550354312@qq.com
// * @project: zyg_project_demo
// * @describe:
// */
//@Component
//@FeignClient(value = "zyg-author")
//public interface AuthorServiceApiClient {
//
//    /**
//     * 生成token
//     * @param dataInfo token中保存的信息
//     * @return
//     */
//    @PostMapping("/zyg-author/va/token")
//    public Result creatToken(@RequestParam("dataInfo") String dataInfo);
//
//}
